﻿using PHMEE.ToolKits;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;

namespace PHMEE.Admin
{
    public interface IMainenanceAdviceAppService : IApplicationService
    {
        Task<MainenanceAdviceDto> GetMainenanceAdviceByIdAsync(Guid id);
        Task<PagedResultDto<MainenanceAdviceDto>> GetPagedMainenanceAdvicesAsync(MainenanceAdviceListDto input);
        Task<Guid> CreateMainenanceAdviceAsync(MainenanceAdviceCreateDto input);
        Task UpdateMainenanceAdviceAsync(MainenanceAdviceUpdateDto input);
        Task DeleteMainenanceAdviceAsync(Guid id);

        Task<byte[]> GenerateTemplateAsync();

        Task<OperationResult> ImportTemplateAsync(byte[] bytes, string fileName);
    }
}
